package javaio;

import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;

public class InputStreamDemo01 {


	public static void main(String[] args) throws Exception {
File f = new File("G:"+File.separator+"AA.txt");
InputStream in = new FileInputStream(f);
byte b[] =new byte[1024];
in.read(b);
in.close();
System.out.println(new String(b));

	}

}
